package com.desksoft.ecommerce.entity.logistics.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DeliverinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DeliverinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andInfoidIsNull() {
            addCriterion("InfoID is null");
            return (Criteria) this;
        }

        public Criteria andInfoidIsNotNull() {
            addCriterion("InfoID is not null");
            return (Criteria) this;
        }

        public Criteria andInfoidEqualTo(Long value) {
            addCriterion("InfoID =", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotEqualTo(Long value) {
            addCriterion("InfoID <>", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidGreaterThan(Long value) {
            addCriterion("InfoID >", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidGreaterThanOrEqualTo(Long value) {
            addCriterion("InfoID >=", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidLessThan(Long value) {
            addCriterion("InfoID <", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidLessThanOrEqualTo(Long value) {
            addCriterion("InfoID <=", value, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidIn(List<Long> values) {
            addCriterion("InfoID in", values, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotIn(List<Long> values) {
            addCriterion("InfoID not in", values, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidBetween(Long value1, Long value2) {
            addCriterion("InfoID between", value1, value2, "infoid");
            return (Criteria) this;
        }

        public Criteria andInfoidNotBetween(Long value1, Long value2) {
            addCriterion("InfoID not between", value1, value2, "infoid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andInfotypeIsNull() {
            addCriterion("InfoType is null");
            return (Criteria) this;
        }

        public Criteria andInfotypeIsNotNull() {
            addCriterion("InfoType is not null");
            return (Criteria) this;
        }

        public Criteria andInfotypeEqualTo(String value) {
            addCriterion("InfoType =", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeNotEqualTo(String value) {
            addCriterion("InfoType <>", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeGreaterThan(String value) {
            addCriterion("InfoType >", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeGreaterThanOrEqualTo(String value) {
            addCriterion("InfoType >=", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeLessThan(String value) {
            addCriterion("InfoType <", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeLessThanOrEqualTo(String value) {
            addCriterion("InfoType <=", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeLike(String value) {
            addCriterion("InfoType like", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeNotLike(String value) {
            addCriterion("InfoType not like", value, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeIn(List<String> values) {
            addCriterion("InfoType in", values, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeNotIn(List<String> values) {
            addCriterion("InfoType not in", values, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeBetween(String value1, String value2) {
            addCriterion("InfoType between", value1, value2, "infotype");
            return (Criteria) this;
        }

        public Criteria andInfotypeNotBetween(String value1, String value2) {
            addCriterion("InfoType not between", value1, value2, "infotype");
            return (Criteria) this;
        }

        public Criteria andClientcodeIsNull() {
            addCriterion("ClientCode is null");
            return (Criteria) this;
        }

        public Criteria andClientcodeIsNotNull() {
            addCriterion("ClientCode is not null");
            return (Criteria) this;
        }

        public Criteria andClientcodeEqualTo(String value) {
            addCriterion("ClientCode =", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotEqualTo(String value) {
            addCriterion("ClientCode <>", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeGreaterThan(String value) {
            addCriterion("ClientCode >", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ClientCode >=", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLessThan(String value) {
            addCriterion("ClientCode <", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLessThanOrEqualTo(String value) {
            addCriterion("ClientCode <=", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLike(String value) {
            addCriterion("ClientCode like", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotLike(String value) {
            addCriterion("ClientCode not like", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeIn(List<String> values) {
            addCriterion("ClientCode in", values, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotIn(List<String> values) {
            addCriterion("ClientCode not in", values, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeBetween(String value1, String value2) {
            addCriterion("ClientCode between", value1, value2, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotBetween(String value1, String value2) {
            addCriterion("ClientCode not between", value1, value2, "clientcode");
            return (Criteria) this;
        }

        public Criteria andReceivemanIsNull() {
            addCriterion("ReceiveMan is null");
            return (Criteria) this;
        }

        public Criteria andReceivemanIsNotNull() {
            addCriterion("ReceiveMan is not null");
            return (Criteria) this;
        }

        public Criteria andReceivemanEqualTo(String value) {
            addCriterion("ReceiveMan =", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanNotEqualTo(String value) {
            addCriterion("ReceiveMan <>", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanGreaterThan(String value) {
            addCriterion("ReceiveMan >", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanGreaterThanOrEqualTo(String value) {
            addCriterion("ReceiveMan >=", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanLessThan(String value) {
            addCriterion("ReceiveMan <", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanLessThanOrEqualTo(String value) {
            addCriterion("ReceiveMan <=", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanLike(String value) {
            addCriterion("ReceiveMan like", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanNotLike(String value) {
            addCriterion("ReceiveMan not like", value, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanIn(List<String> values) {
            addCriterion("ReceiveMan in", values, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanNotIn(List<String> values) {
            addCriterion("ReceiveMan not in", values, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanBetween(String value1, String value2) {
            addCriterion("ReceiveMan between", value1, value2, "receiveman");
            return (Criteria) this;
        }

        public Criteria andReceivemanNotBetween(String value1, String value2) {
            addCriterion("ReceiveMan not between", value1, value2, "receiveman");
            return (Criteria) this;
        }

        public Criteria andAdresstypeIsNull() {
            addCriterion("AdressType is null");
            return (Criteria) this;
        }

        public Criteria andAdresstypeIsNotNull() {
            addCriterion("AdressType is not null");
            return (Criteria) this;
        }

        public Criteria andAdresstypeEqualTo(String value) {
            addCriterion("AdressType =", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeNotEqualTo(String value) {
            addCriterion("AdressType <>", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeGreaterThan(String value) {
            addCriterion("AdressType >", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeGreaterThanOrEqualTo(String value) {
            addCriterion("AdressType >=", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeLessThan(String value) {
            addCriterion("AdressType <", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeLessThanOrEqualTo(String value) {
            addCriterion("AdressType <=", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeLike(String value) {
            addCriterion("AdressType like", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeNotLike(String value) {
            addCriterion("AdressType not like", value, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeIn(List<String> values) {
            addCriterion("AdressType in", values, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeNotIn(List<String> values) {
            addCriterion("AdressType not in", values, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeBetween(String value1, String value2) {
            addCriterion("AdressType between", value1, value2, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAdresstypeNotBetween(String value1, String value2) {
            addCriterion("AdressType not between", value1, value2, "adresstype");
            return (Criteria) this;
        }

        public Criteria andAreanoIsNull() {
            addCriterion("AreaNo is null");
            return (Criteria) this;
        }

        public Criteria andAreanoIsNotNull() {
            addCriterion("AreaNo is not null");
            return (Criteria) this;
        }

        public Criteria andAreanoEqualTo(String value) {
            addCriterion("AreaNo =", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoNotEqualTo(String value) {
            addCriterion("AreaNo <>", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoGreaterThan(String value) {
            addCriterion("AreaNo >", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoGreaterThanOrEqualTo(String value) {
            addCriterion("AreaNo >=", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoLessThan(String value) {
            addCriterion("AreaNo <", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoLessThanOrEqualTo(String value) {
            addCriterion("AreaNo <=", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoLike(String value) {
            addCriterion("AreaNo like", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoNotLike(String value) {
            addCriterion("AreaNo not like", value, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoIn(List<String> values) {
            addCriterion("AreaNo in", values, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoNotIn(List<String> values) {
            addCriterion("AreaNo not in", values, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoBetween(String value1, String value2) {
            addCriterion("AreaNo between", value1, value2, "areano");
            return (Criteria) this;
        }

        public Criteria andAreanoNotBetween(String value1, String value2) {
            addCriterion("AreaNo not between", value1, value2, "areano");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("Address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("Address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("Address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("Address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("Address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("Address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("Address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("Address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("Address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("Address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("Address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("Address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("Address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("Address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andPostcodeIsNull() {
            addCriterion("PostCode is null");
            return (Criteria) this;
        }

        public Criteria andPostcodeIsNotNull() {
            addCriterion("PostCode is not null");
            return (Criteria) this;
        }

        public Criteria andPostcodeEqualTo(String value) {
            addCriterion("PostCode =", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotEqualTo(String value) {
            addCriterion("PostCode <>", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeGreaterThan(String value) {
            addCriterion("PostCode >", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("PostCode >=", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLessThan(String value) {
            addCriterion("PostCode <", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLessThanOrEqualTo(String value) {
            addCriterion("PostCode <=", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLike(String value) {
            addCriterion("PostCode like", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotLike(String value) {
            addCriterion("PostCode not like", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeIn(List<String> values) {
            addCriterion("PostCode in", values, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotIn(List<String> values) {
            addCriterion("PostCode not in", values, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeBetween(String value1, String value2) {
            addCriterion("PostCode between", value1, value2, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotBetween(String value1, String value2) {
            addCriterion("PostCode not between", value1, value2, "postcode");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNull() {
            addCriterion("Telephone is null");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNotNull() {
            addCriterion("Telephone is not null");
            return (Criteria) this;
        }

        public Criteria andTelephoneEqualTo(String value) {
            addCriterion("Telephone =", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotEqualTo(String value) {
            addCriterion("Telephone <>", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThan(String value) {
            addCriterion("Telephone >", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("Telephone >=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThan(String value) {
            addCriterion("Telephone <", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanOrEqualTo(String value) {
            addCriterion("Telephone <=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLike(String value) {
            addCriterion("Telephone like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotLike(String value) {
            addCriterion("Telephone not like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneIn(List<String> values) {
            addCriterion("Telephone in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotIn(List<String> values) {
            addCriterion("Telephone not in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneBetween(String value1, String value2) {
            addCriterion("Telephone between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotBetween(String value1, String value2) {
            addCriterion("Telephone not between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("Mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("Mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("Mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("Mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("Mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("Mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("Mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("Mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("Mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("Mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("Mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("Mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("Mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("Mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andSendtypeIsNull() {
            addCriterion("SendType is null");
            return (Criteria) this;
        }

        public Criteria andSendtypeIsNotNull() {
            addCriterion("SendType is not null");
            return (Criteria) this;
        }

        public Criteria andSendtypeEqualTo(String value) {
            addCriterion("SendType =", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotEqualTo(String value) {
            addCriterion("SendType <>", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeGreaterThan(String value) {
            addCriterion("SendType >", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeGreaterThanOrEqualTo(String value) {
            addCriterion("SendType >=", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeLessThan(String value) {
            addCriterion("SendType <", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeLessThanOrEqualTo(String value) {
            addCriterion("SendType <=", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeLike(String value) {
            addCriterion("SendType like", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotLike(String value) {
            addCriterion("SendType not like", value, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeIn(List<String> values) {
            addCriterion("SendType in", values, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotIn(List<String> values) {
            addCriterion("SendType not in", values, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeBetween(String value1, String value2) {
            addCriterion("SendType between", value1, value2, "sendtype");
            return (Criteria) this;
        }

        public Criteria andSendtypeNotBetween(String value1, String value2) {
            addCriterion("SendType not between", value1, value2, "sendtype");
            return (Criteria) this;
        }

        public Criteria andLineIsNull() {
            addCriterion("Line is null");
            return (Criteria) this;
        }

        public Criteria andLineIsNotNull() {
            addCriterion("Line is not null");
            return (Criteria) this;
        }

        public Criteria andLineEqualTo(String value) {
            addCriterion("Line =", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineNotEqualTo(String value) {
            addCriterion("Line <>", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineGreaterThan(String value) {
            addCriterion("Line >", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineGreaterThanOrEqualTo(String value) {
            addCriterion("Line >=", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineLessThan(String value) {
            addCriterion("Line <", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineLessThanOrEqualTo(String value) {
            addCriterion("Line <=", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineLike(String value) {
            addCriterion("Line like", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineNotLike(String value) {
            addCriterion("Line not like", value, "line");
            return (Criteria) this;
        }

        public Criteria andLineIn(List<String> values) {
            addCriterion("Line in", values, "line");
            return (Criteria) this;
        }

        public Criteria andLineNotIn(List<String> values) {
            addCriterion("Line not in", values, "line");
            return (Criteria) this;
        }

        public Criteria andLineBetween(String value1, String value2) {
            addCriterion("Line between", value1, value2, "line");
            return (Criteria) this;
        }

        public Criteria andLineNotBetween(String value1, String value2) {
            addCriterion("Line not between", value1, value2, "line");
            return (Criteria) this;
        }

        public Criteria andTransfercodeIsNull() {
            addCriterion("TransferCode is null");
            return (Criteria) this;
        }

        public Criteria andTransfercodeIsNotNull() {
            addCriterion("TransferCode is not null");
            return (Criteria) this;
        }

        public Criteria andTransfercodeEqualTo(String value) {
            addCriterion("TransferCode =", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeNotEqualTo(String value) {
            addCriterion("TransferCode <>", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeGreaterThan(String value) {
            addCriterion("TransferCode >", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeGreaterThanOrEqualTo(String value) {
            addCriterion("TransferCode >=", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeLessThan(String value) {
            addCriterion("TransferCode <", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeLessThanOrEqualTo(String value) {
            addCriterion("TransferCode <=", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeLike(String value) {
            addCriterion("TransferCode like", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeNotLike(String value) {
            addCriterion("TransferCode not like", value, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeIn(List<String> values) {
            addCriterion("TransferCode in", values, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeNotIn(List<String> values) {
            addCriterion("TransferCode not in", values, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeBetween(String value1, String value2) {
            addCriterion("TransferCode between", value1, value2, "transfercode");
            return (Criteria) this;
        }

        public Criteria andTransfercodeNotBetween(String value1, String value2) {
            addCriterion("TransferCode not between", value1, value2, "transfercode");
            return (Criteria) this;
        }

        public Criteria andLeavewordIsNull() {
            addCriterion("LeaveWord is null");
            return (Criteria) this;
        }

        public Criteria andLeavewordIsNotNull() {
            addCriterion("LeaveWord is not null");
            return (Criteria) this;
        }

        public Criteria andLeavewordEqualTo(String value) {
            addCriterion("LeaveWord =", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordNotEqualTo(String value) {
            addCriterion("LeaveWord <>", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordGreaterThan(String value) {
            addCriterion("LeaveWord >", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordGreaterThanOrEqualTo(String value) {
            addCriterion("LeaveWord >=", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordLessThan(String value) {
            addCriterion("LeaveWord <", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordLessThanOrEqualTo(String value) {
            addCriterion("LeaveWord <=", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordLike(String value) {
            addCriterion("LeaveWord like", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordNotLike(String value) {
            addCriterion("LeaveWord not like", value, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordIn(List<String> values) {
            addCriterion("LeaveWord in", values, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordNotIn(List<String> values) {
            addCriterion("LeaveWord not in", values, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordBetween(String value1, String value2) {
            addCriterion("LeaveWord between", value1, value2, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLeavewordNotBetween(String value1, String value2) {
            addCriterion("LeaveWord not between", value1, value2, "leaveword");
            return (Criteria) this;
        }

        public Criteria andLastdeliverIsNull() {
            addCriterion("LastDeliver is null");
            return (Criteria) this;
        }

        public Criteria andLastdeliverIsNotNull() {
            addCriterion("LastDeliver is not null");
            return (Criteria) this;
        }

        public Criteria andLastdeliverEqualTo(Date value) {
            addCriterion("LastDeliver =", value, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverNotEqualTo(Date value) {
            addCriterion("LastDeliver <>", value, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverGreaterThan(Date value) {
            addCriterion("LastDeliver >", value, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverGreaterThanOrEqualTo(Date value) {
            addCriterion("LastDeliver >=", value, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverLessThan(Date value) {
            addCriterion("LastDeliver <", value, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverLessThanOrEqualTo(Date value) {
            addCriterion("LastDeliver <=", value, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverIn(List<Date> values) {
            addCriterion("LastDeliver in", values, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverNotIn(List<Date> values) {
            addCriterion("LastDeliver not in", values, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverBetween(Date value1, Date value2) {
            addCriterion("LastDeliver between", value1, value2, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andLastdeliverNotBetween(Date value1, Date value2) {
            addCriterion("LastDeliver not between", value1, value2, "lastdeliver");
            return (Criteria) this;
        }

        public Criteria andValidateIsNull() {
            addCriterion("Validate is null");
            return (Criteria) this;
        }

        public Criteria andValidateIsNotNull() {
            addCriterion("Validate is not null");
            return (Criteria) this;
        }

        public Criteria andValidateEqualTo(String value) {
            addCriterion("Validate =", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateNotEqualTo(String value) {
            addCriterion("Validate <>", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateGreaterThan(String value) {
            addCriterion("Validate >", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateGreaterThanOrEqualTo(String value) {
            addCriterion("Validate >=", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateLessThan(String value) {
            addCriterion("Validate <", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateLessThanOrEqualTo(String value) {
            addCriterion("Validate <=", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateLike(String value) {
            addCriterion("Validate like", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateNotLike(String value) {
            addCriterion("Validate not like", value, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateIn(List<String> values) {
            addCriterion("Validate in", values, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateNotIn(List<String> values) {
            addCriterion("Validate not in", values, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateBetween(String value1, String value2) {
            addCriterion("Validate between", value1, value2, "validate");
            return (Criteria) this;
        }

        public Criteria andValidateNotBetween(String value1, String value2) {
            addCriterion("Validate not between", value1, value2, "validate");
            return (Criteria) this;
        }

        public Criteria andValidatedateIsNull() {
            addCriterion("ValidateDate is null");
            return (Criteria) this;
        }

        public Criteria andValidatedateIsNotNull() {
            addCriterion("ValidateDate is not null");
            return (Criteria) this;
        }

        public Criteria andValidatedateEqualTo(Date value) {
            addCriterion("ValidateDate =", value, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateNotEqualTo(Date value) {
            addCriterion("ValidateDate <>", value, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateGreaterThan(Date value) {
            addCriterion("ValidateDate >", value, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("ValidateDate >=", value, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateLessThan(Date value) {
            addCriterion("ValidateDate <", value, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateLessThanOrEqualTo(Date value) {
            addCriterion("ValidateDate <=", value, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateIn(List<Date> values) {
            addCriterion("ValidateDate in", values, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateNotIn(List<Date> values) {
            addCriterion("ValidateDate not in", values, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateBetween(Date value1, Date value2) {
            addCriterion("ValidateDate between", value1, value2, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatedateNotBetween(Date value1, Date value2) {
            addCriterion("ValidateDate not between", value1, value2, "validatedate");
            return (Criteria) this;
        }

        public Criteria andValidatemanIsNull() {
            addCriterion("ValidateMan is null");
            return (Criteria) this;
        }

        public Criteria andValidatemanIsNotNull() {
            addCriterion("ValidateMan is not null");
            return (Criteria) this;
        }

        public Criteria andValidatemanEqualTo(String value) {
            addCriterion("ValidateMan =", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanNotEqualTo(String value) {
            addCriterion("ValidateMan <>", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanGreaterThan(String value) {
            addCriterion("ValidateMan >", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanGreaterThanOrEqualTo(String value) {
            addCriterion("ValidateMan >=", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanLessThan(String value) {
            addCriterion("ValidateMan <", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanLessThanOrEqualTo(String value) {
            addCriterion("ValidateMan <=", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanLike(String value) {
            addCriterion("ValidateMan like", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanNotLike(String value) {
            addCriterion("ValidateMan not like", value, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanIn(List<String> values) {
            addCriterion("ValidateMan in", values, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanNotIn(List<String> values) {
            addCriterion("ValidateMan not in", values, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanBetween(String value1, String value2) {
            addCriterion("ValidateMan between", value1, value2, "validateman");
            return (Criteria) this;
        }

        public Criteria andValidatemanNotBetween(String value1, String value2) {
            addCriterion("ValidateMan not between", value1, value2, "validateman");
            return (Criteria) this;
        }

        public Criteria andPlacenoIsNull() {
            addCriterion("PlaceNo is null");
            return (Criteria) this;
        }

        public Criteria andPlacenoIsNotNull() {
            addCriterion("PlaceNo is not null");
            return (Criteria) this;
        }

        public Criteria andPlacenoEqualTo(String value) {
            addCriterion("PlaceNo =", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoNotEqualTo(String value) {
            addCriterion("PlaceNo <>", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoGreaterThan(String value) {
            addCriterion("PlaceNo >", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoGreaterThanOrEqualTo(String value) {
            addCriterion("PlaceNo >=", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoLessThan(String value) {
            addCriterion("PlaceNo <", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoLessThanOrEqualTo(String value) {
            addCriterion("PlaceNo <=", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoLike(String value) {
            addCriterion("PlaceNo like", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoNotLike(String value) {
            addCriterion("PlaceNo not like", value, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoIn(List<String> values) {
            addCriterion("PlaceNo in", values, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoNotIn(List<String> values) {
            addCriterion("PlaceNo not in", values, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoBetween(String value1, String value2) {
            addCriterion("PlaceNo between", value1, value2, "placeno");
            return (Criteria) this;
        }

        public Criteria andPlacenoNotBetween(String value1, String value2) {
            addCriterion("PlaceNo not between", value1, value2, "placeno");
            return (Criteria) this;
        }

        public Criteria andStorecodeIsNull() {
            addCriterion("StoreCode is null");
            return (Criteria) this;
        }

        public Criteria andStorecodeIsNotNull() {
            addCriterion("StoreCode is not null");
            return (Criteria) this;
        }

        public Criteria andStorecodeEqualTo(String value) {
            addCriterion("StoreCode =", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotEqualTo(String value) {
            addCriterion("StoreCode <>", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeGreaterThan(String value) {
            addCriterion("StoreCode >", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeGreaterThanOrEqualTo(String value) {
            addCriterion("StoreCode >=", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeLessThan(String value) {
            addCriterion("StoreCode <", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeLessThanOrEqualTo(String value) {
            addCriterion("StoreCode <=", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeLike(String value) {
            addCriterion("StoreCode like", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotLike(String value) {
            addCriterion("StoreCode not like", value, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeIn(List<String> values) {
            addCriterion("StoreCode in", values, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotIn(List<String> values) {
            addCriterion("StoreCode not in", values, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeBetween(String value1, String value2) {
            addCriterion("StoreCode between", value1, value2, "storecode");
            return (Criteria) this;
        }

        public Criteria andStorecodeNotBetween(String value1, String value2) {
            addCriterion("StoreCode not between", value1, value2, "storecode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}